package com.jied.duodian.dao.custom;

import com.jied.duodian.entity.DdProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Description:
 *
 * @author LiJie
 * @date Created on 2020/11/1
 * WWW https://github.com/j6l
 */
@Repository
@Mapper
public interface DUProduceDao {

    @Select("SELECT brand_name from dd_product GROUP BY brand_name;")
    List<DdProduct> getBrandName();
}
